package com.test.mapper;

import com.test.entitys.Book;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * @author: 刘畅
 * @date: 2022/5/29
 * @Description: 图书
 */
@Mapper
public interface BookMapper {
    @Select("select * from DB_BOOK where bid = #{bid}")
    Book getBookById(int bid);
}
